﻿<UserControl x:Class="LightOMator.View.TimeSpanControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:controls="clr-namespace:Coding4Fun.Toolkit.Controls;assembly=Coding4Fun.Toolkit.Controls"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="120" d:DesignWidth="480">

    <!-- Background="{StaticResource PhoneChromeBrush}" -->
    <Grid x:Name="LayoutRoot" >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <TextBox x:Name="NumericInputBox" InputScope="Number" Text="0" VerticalAlignment="Center" />
        <toolkit:ListPicker x:Name="UnitPicker" Grid.Column="1" MinWidth="80" VerticalAlignment="Center" >
            <toolkit:ListPickerItem Content="ms" />
            <toolkit:ListPickerItem Content="s" />
            <toolkit:ListPickerItem Content="min" />
            <toolkit:ListPickerItem Content="hour" />
        </toolkit:ListPicker>
    </Grid>
</UserControl>